import request from '@/utils/request'

// 查询adidas工单列表
export function listWorkOrderMaAdidas(query) {
  return request({
    url: '/system/workOrderMaAdidas/list',
    method: 'get',
    params: query
  })
}

// 查询adidas工单详细
export function getWorkOrderMaAdidas(workOrderId) {
  return request({
    url: '/system/workOrderMaAdidas/' + workOrderId,
    method: 'get'
  })
}

// 新增adidas工单
export function addWorkOrderMaAdidas(data) {
  return request({
    url: '/system/workOrderMaAdidas',
    method: 'post',
    data: data
  })
}

// 修改adidas工单
export function updateWorkOrderMaAdidas(data) {
  return request({
    url: '/system/workOrderMaAdidas',
    method: 'put',
    data: data
  })
}

// 删除adidas工单
export function delWorkOrderMaAdidas(workOrderId) {
  return request({
    url: '/system/workOrderMaAdidas/' + workOrderId,
    method: 'delete'
  })
}
